import network from '@/common/network.js'
//简历是否被我收藏
export const isResumeFavorite =param =>{
  return network({
    url: `em-boot/biz/api/emFavorite/IsResumeFavorite`,
    param,
    auth: true,
  })
}

//简历收藏-添加
export const positionAdd =param =>{
  return network({
    url: `em-boot/biz/api/emFavorite/ResumeAdd`,
    param,
    auth: true,
  })
}

//简历收藏-取消
export const resumeCancel =param =>{
  return network({
    url: `em-boot/biz/api/emFavorite/ResumeCancel`,
    param,
    auth: true,
  })
}


//我的简历收藏-分页列表查询
export const myResumeFavoriteList =param =>{
  return network({
    url: `em-boot/biz/api/user/myResumeFavoriteList`,
    param,
    auth: true,
  })
}
